package com.campuscrowdsourcing.server.common.constant;

/**
 * 缓存常量类
 *
 * @author XinYuan Zhao
 * @since 2023/3/9
 */
public class CacheConst {

    /**
     * 登录用户token redis key
     */
    public static final String LOGIN_TOKEN_ACCESS_KEY = "campus_token_access:";
    public static final String LOGIN_TOKEN_REFRESH_KEY = "campus_token_refresh:";

    /**
     * 登录用户token redis key
     */
    public static final String LOGIN_USER_KEY = "campus_login_user:";

    /**
     * 用户信息
     */
    public static final String USER_KEY = "campus_user:";

    /**
     * 邮箱注册/登录验证码
     */
    public static final String EMAIL_CODE = "campus_email_code:";
    public static final String PHONE_CODE = "campus_phone_code:";




    public static final String CODE_IP_COUNT = "campus_code_ip:";
}
